<h1>Listing mobiles</h1>

<table>
  <tr>
    <th>Virtual number</th>
    <th>Alias list</th>
    <th>Short description</th>
    <th>Long description</th>
    <th>Detailed description</th>
    <th>Action bitvector</th>
    <th>Affection bitvector</th>
    <th>Alignment</th>
    <th>Mobile type flag</th>
    <th>Level</th>
    <th>Thaco</th>
    <th>Armor class</th>
    <th>Max hit points</th>
    <th>Bare handed damage</th>
    <th>Gold</th>
    <th>Experience points</th>
    <th>Load position</th>
    <th>Default position</th>
    <th>Sex</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @mobiles.each do |mobile| %>
  <tr>
    <td><%= mobile.virtual_number %></td>
    <td><%= mobile.alias_list %></td>
    <td><%= mobile.short_description %></td>
    <td><%= mobile.long_description %></td>
    <td><%= mobile.detailed_description %></td>
    <td><%= mobile.action_bitvector_id %></td>
    <td><%= mobile.affection_bitvector_id %></td>
    <td><%= mobile.alignment %></td>
    <td><%= mobile.mobile_type_flag_id %></td>
    <td><%= mobile.level %></td>
    <td><%= mobile.thaco %></td>
    <td><%= mobile.armor_class %></td>
    <td><%= mobile.max_hit_points %></td>
    <td><%= mobile.bare_handed_damage %></td>
    <td><%= mobile.gold %></td>
    <td><%= mobile.experience_points %></td>
    <td><%= mobile.load_position_id %></td>
    <td><%= mobile.default_position_id %></td>
    <td><%= mobile.sex_id %></td>
    <td><%= link_to 'Show', mobile %></td>
    <td><%= link_to 'Edit', edit_mobile_path(mobile) %></td>
    <td><%= link_to 'Destroy', mobile, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Mobile', new_mobile_path %>
